package com.neusoft.yuejian_6.service;



import com.neusoft.yuejian_6.javabean.Contest;

import java.util.List;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;



public interface ContestService {
    @GET("Contests/getContests")
    Call<List< Contest>> getAllContests();

    @GET("Contest/Contestdetail")
    Call< Contest> getContestById(
            @Query("contest_id") int contest_id

    );
}
